home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 August / macformat-027.iso / mac / Shareware City / Developers / Oberon⁄F / System / Docu / Math (.txt) < prev    next >
Encoding:
Oberon Document  |  1994-06-07  |  3.4 KB  |  93 lines  |  [oODC/obnF]

  1. Documents.StdDocumentDesc
  2. Documents.DocumentDesc
  3. Containers.ViewDesc
  4. Views.ViewDesc
  5. Stores.StoreDesc
  6. Documents.ModelDesc
  7. Containers.ModelDesc
  8. Models.ModelDesc
  9. Stores.ElemDesc
  10. TextViews.StdViewDesc
  11. TextViews.ViewDesc
  12. TextModels.StdModelDesc
  13. TextModels.ModelDesc
  14. TextModels.AttributesDesc
  15. Geneva
  16. TextRulers.StdRulerDesc
  17. TextRulers.RulerDesc
  18. TextRulers.StdStyleDesc
  19. TextRulers.StyleDesc
  20. TextRulers.AttributesDesc
  21. Geneva
  22. Geneva
  23. Geneva
  24. Miscellaneous
  25. 8.1 Math
  26. DEFINITION Math;
  27.     PROCEDURE Pi (): REAL;
  28.     PROCEDURE Arctan (x: REAL): REAL;
  29.     PROCEDURE Cos (x: REAL): REAL;
  30.     PROCEDURE Exp (x: REAL): REAL;
  31.     PROCEDURE Ln (x: REAL): REAL;
  32.     PROCEDURE Sin (x: REAL): REAL;
  33.     PROCEDURE Sqrt (x: REAL): REAL;
  34.     PROCEDURE LPi (): LONGREAL;
  35.     PROCEDURE LArctan (x: LONGREAL): LONGREAL;
  36.     PROCEDURE LCos (x: LONGREAL): LONGREAL;
  37.     PROCEDURE LExp (x: LONGREAL): LONGREAL;
  38.     PROCEDURE LLn (x: LONGREAL): LONGREAL;
  39.     PROCEDURE LSin (x: LONGREAL): LONGREAL;
  40.     PROCEDURE LSqrt (x: LONGREAL): LONGREAL;
  41. END Math.
  42. Module Math is a very basic library for numerical computations.
  43. PROCEDURE Pi (): REAL
  44. Returns an approximation of the value of pi.
  45. result = 3.141592...
  46. PROCEDURE Arctan (x: REAL): REAL
  47. Returns the arcus tangent of x.
  48. -pi/2 < result < pi/2
  49. PROCEDURE Cos (x: REAL): REAL
  50. Returns the cosine of x.
  51. -1.0 <= result <= 1.0
  52. PROCEDURE Exp (x: REAL): REAL
  53. Returns ex.
  54. result > 0.0
  55. PROCEDURE Ln (x: REAL): REAL
  56. Returns the logarithm of x.
  57. x > 0.0    (not explicitly checked)
  58. PROCEDURE Sin (x: REAL): REAL
  59. Returns the sine of x.
  60. -1.0 <= result <= 1.0
  61. PROCEDURE Sqrt (x: REAL): REAL
  62. Returns the square root of x.
  63. x >= 0.0    (not explicitly checked)
  64. result >= 0.0
  65. PROCEDURE LPi (): LONGREAL
  66. Returns an approximation of the value of pi.
  67. result = 3.141592...
  68. PROCEDURE LArctan (x: LONGREAL): LONGREAL
  69. Returns the arcus tangent of x.
  70. -pi/2 < result < pi/2
  71. PROCEDURE LCos (x: LONGREAL): LONGREAL
  72. Returns the cosine of x.
  73. -1.0 <= result <= 1.0
  74. PROCEDURE LExp (x: LONGREAL): LONGREAL
  75. Returns ex.
  76. result > 0.0
  77. PROCEDURE LLn (x: LONGREAL): LONGREAL
  78. Returns the logarithm of x.
  79. x > 0.0    (not explicitly checked)
  80. PROCEDURE LSin (x: LONGREAL): LONGREAL
  81. Returns the sine of x.
  82. -1.0 <= result <= 1.0
  83. PROCEDURE LSqrt (x: LONGREAL): LONGREAL
  84. Returns the square root of x.
  85. x >= 0.0    (not explicitly checked)
  86. result >= 0.0
  87. TextControllers.StdCtrlDesc
  88. TextControllers.ControllerDesc
  89. Containers.ControllerDesc
  90. Controllers.ControllerDesc
  91. Geneva
  92. Documents.ControllerDesc
  93.